]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
notificationDaemon: Fix fallback icon names
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 29 Jun 2017 23:11:53 +0000 (01:11 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 5 Jul 2017 16:40:18 +0000 (18:40 +0200)
The gtk-dialog-* names are old and non-standard, and haven't been
provided by the default icon theme for quite a while ...

https://bugzilla.gnome.org/show_bug.cgi?id=784245

js/ui/notificationDaemon.js

index df1a43dbf50b6b929616c3d9d724df12c4e68d63..62096258d4bad9e3dd48f377b7c4cd023ebe6913 100644 (file)
@@ -128,10 +128,10 @@ const FdoNotificationDaemon = new Lang.Class({
         switch (hints.urgency) {
             case Urgency.LOW:
             case Urgency.NORMAL:
-                stockIcon = 'gtk-dialog-info';
+                stockIcon = 'dialog-information';
                 break;
             case Urgency.CRITICAL:
-                stockIcon = 'gtk-dialog-error';
+                stockIcon = 'dialog-error';
                 break;
         }
         return new Gio.ThemedIcon({ name: stockIcon });